<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/28/028
 * Time: 15:50
 */

namespace app\api\model;


class ErrorLog extends BaseModel {


    public static function add_log($log) {
        self::create([
            'msg' => '短信发送失败:' . json_encode($log)
        ]);
    }
}